#pragma once
#include <gdiplus.h> 
#pragma comment(lib, "gdiplus.lib") 
using namespace Gdiplus;

class CUtility
{
public:
	CUtility(void);
	~CUtility(void);

	static void UpdateWindow(HWND hWnd, HDC hdc, CRect rect);
	static BOOL ImageFromIDResource(UINT nID, LPCTSTR sTR, Image * &pImg);
	static BOOL StringFromIDResource(UINT nID, LPCTSTR sTR, CString& str);
};
